package org.example.myleet.p700;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.Parser;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(2 == solution.searchBST(Parser.parse(new Integer[]{4, 2, 7, 1, 3}), 2).val);
        Assert.isTrue(null == solution.searchBST(Parser.parse(new Integer[]{4, 2, 7, 1, 3}), 5));
    }
}
